﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Demo0513
{
    class Thegraphicsarea
    {
        public double Area1(double r) 
        {        
            //计算圆面积
            return r*r*3.14;
        }
        public double Area1(double l, double w) {
            //计算长方形面积
            return l * w;
        }
    }
}
